Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Add filter by tag command #126

Merged
merged 2 commits into from
Oct 30, 2023
Merged

Conversation

bwangpj
Copy link

@bwangpj bwangpj commented Oct 29, 2023

Add filter command to allow users to list all contacts matching a certain Tag (case insensitive).

Documentation update will be done in a separate PR together with other documentation updates (addresses #127 instead).

Closes #107.

Add filter command to allow users to list all contacts matching a
certain Tag (case insensitive).

Tests and documentation update to follow.
@bwangpj bwangpj added this to the v1.3b milestone Oct 29, 2023
@codecov
Copy link

codecov bot commented Oct 29, 2023

Codecov Report

Merging #126 (78d602a) into master (4d86a1e) will increase coverage by 0.85%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master     #126      +/-   ##
============================================
+ Coverage     71.46%   72.31%   +0.85%     
- Complexity      369      387      +18     
============================================
  Files            69       72       +3     
  Lines          1265     1304      +39     
  Branches        119      124       +5     
============================================
+ Hits            904      943      +39     
  Misses          325      325              
  Partials         36       36              
Files Coverage Δ
...java/swe/context/logic/commands/FilterCommand.java 100.00% <100.00%> (ø)
.../swe/context/logic/parser/FilterCommandParser.java 100.00% <100.00%> (ø)
...ain/java/swe/context/logic/parser/InputParser.java 100.00% <100.00%> (ø)
...we/context/model/contact/ContainsTagPredicate.java 100.00% <100.00%> (ø)

@mamayuan
Copy link

I think you need to add tests for the code added to pass the checks

@bwangpj
Copy link
Author

bwangpj commented Oct 29, 2023

I think you need to add tests for the code added to pass the checks

Yep I'll do that soon as mentioned above

@bwangpj
Copy link
Author

bwangpj commented Oct 29, 2023

I think you need to add tests for the code added to pass the checks

Yep I'll do that soon as mentioned above

Ah I forgot to mark this as draft PR (I thought I did)

@bwangpj bwangpj marked this pull request as draft October 29, 2023 13:17
@Cloud7050
Copy link

Linking #107.

Add test coverage for filter command.
@bwangpj bwangpj marked this pull request as ready for review October 30, 2023 00:45
@Cloud7050 Cloud7050 merged commit 636a886 into AY2324S1-CS2103-W14-3:master Oct 30, 2023
5 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

As a user, I want to filter contacts by a certain Tag...
4 participants